<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'profiles-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'user_id'); ?>
		<?php echo $form->textField($model,'user_id'); ?>
		<?php echo $form->error($model,'user_id'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'nickname'); ?>
		<?php echo $form->textField($model,'nickname',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'nickname'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'idcard'); ?>
		<?php echo $form->textField($model,'idcard',array('size'=>32,'maxlength'=>32)); ?>
		<?php echo $form->error($model,'idcard'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'sex'); ?>
		<?php echo $form->textField($model,'sex'); ?>
		<?php echo $form->error($model,'sex'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'birthday'); ?>
		<?php echo $form->textField($model,'birthday'); ?>
		<?php echo $form->error($model,'birthday'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'place'); ?>
		<?php echo $form->textField($model,'place',array('size'=>32,'maxlength'=>32)); ?>
		<?php echo $form->error($model,'place'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'nation'); ?>
		<?php echo $form->textField($model,'nation',array('size'=>60,'maxlength'=>64)); ?>
		<?php echo $form->error($model,'nation'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'marry'); ?>
		<?php echo $form->textField($model,'marry'); ?>
		<?php echo $form->error($model,'marry'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'address'); ?>
		<?php echo $form->textField($model,'address',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'address'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'contact'); ?>
		<?php echo $form->textField($model,'contact',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'contact'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'post'); ?>
		<?php echo $form->textField($model,'post',array('size'=>8,'maxlength'=>8)); ?>
		<?php echo $form->error($model,'post'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'phone'); ?>
		<?php echo $form->textField($model,'phone',array('size'=>32,'maxlength'=>32)); ?>
		<?php echo $form->error($model,'phone'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'im'); ?>
		<?php echo $form->textField($model,'im',array('size'=>12,'maxlength'=>12)); ?>
		<?php echo $form->error($model,'im'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'politics'); ?>
		<?php echo $form->textField($model,'politics'); ?>
		<?php echo $form->error($model,'politics'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'jobtitle'); ?>
		<?php echo $form->textField($model,'jobtitle',array('size'=>32,'maxlength'=>32)); ?>
		<?php echo $form->error($model,'jobtitle'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'job'); ?>
		<?php echo $form->textField($model,'job',array('size'=>32,'maxlength'=>32)); ?>
		<?php echo $form->error($model,'job'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'blog'); ?>
		<?php echo $form->textField($model,'blog',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'blog'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'pphoto'); ?>
		<?php echo $form->textField($model,'pphoto',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'pphoto'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'highest_education'); ?>
		<?php echo $form->textField($model,'highest_education'); ?>
		<?php echo $form->error($model,'highest_education'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'graduation_date'); ?>
		<?php echo $form->textField($model,'graduation_date',array('size'=>8,'maxlength'=>8)); ?>
		<?php echo $form->error($model,'graduation_date'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'school'); ?>
		<?php echo $form->textField($model,'school',array('size'=>60,'maxlength'=>64)); ?>
		<?php echo $form->error($model,'school'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'department'); ?>
		<?php echo $form->textField($model,'department',array('size'=>60,'maxlength'=>64)); ?>
		<?php echo $form->error($model,'department'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'specialities'); ?>
		<?php echo $form->textField($model,'specialities',array('size'=>60,'maxlength'=>64)); ?>
		<?php echo $form->error($model,'specialities'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'research_directions'); ?>
		<?php echo $form->textArea($model,'research_directions',array('rows'=>6, 'cols'=>50)); ?>
		<?php echo $form->error($model,'research_directions'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'work_experience'); ?>
		<?php echo $form->textArea($model,'work_experience',array('rows'=>6, 'cols'=>50)); ?>
		<?php echo $form->error($model,'work_experience'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'scientific_result'); ?>
		<?php echo $form->textArea($model,'scientific_result',array('rows'=>6, 'cols'=>50)); ?>
		<?php echo $form->error($model,'scientific_result'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'achievement'); ?>
		<?php echo $form->textArea($model,'achievement',array('rows'=>6, 'cols'=>50)); ?>
		<?php echo $form->error($model,'achievement'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'social_position'); ?>
		<?php echo $form->textField($model,'social_position',array('size'=>60,'maxlength'=>64)); ?>
		<?php echo $form->error($model,'social_position'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'n_second_school_major'); ?>
		<?php echo $form->textField($model,'n_second_school_major',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'n_second_school_major'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'n_computer_skill'); ?>
		<?php echo $form->textArea($model,'n_computer_skill',array('rows'=>6, 'cols'=>50)); ?>
		<?php echo $form->error($model,'n_computer_skill'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'n_computer_achievement'); ?>
		<?php echo $form->textArea($model,'n_computer_achievement',array('rows'=>6, 'cols'=>50)); ?>
		<?php echo $form->error($model,'n_computer_achievement'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'n_skill_mark'); ?>
		<?php echo $form->textField($model,'n_skill_mark',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'n_skill_mark'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'n_work'); ?>
		<?php echo $form->textArea($model,'n_work',array('rows'=>6, 'cols'=>50)); ?>
		<?php echo $form->error($model,'n_work'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'n_activity'); ?>
		<?php echo $form->textField($model,'n_activity'); ?>
		<?php echo $form->error($model,'n_activity'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'s_admission_date'); ?>
		<?php echo $form->textField($model,'s_admission_date',array('size'=>8,'maxlength'=>8)); ?>
		<?php echo $form->error($model,'s_admission_date'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'s_studentid'); ?>
		<?php echo $form->textField($model,'s_studentid',array('size'=>32,'maxlength'=>32)); ?>
		<?php echo $form->error($model,'s_studentid'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'s_school_position'); ?>
		<?php echo $form->textField($model,'s_school_position',array('size'=>60,'maxlength'=>64)); ?>
		<?php echo $form->error($model,'s_school_position'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'c_legal_person'); ?>
		<?php echo $form->textField($model,'c_legal_person',array('size'=>32,'maxlength'=>32)); ?>
		<?php echo $form->error($model,'c_legal_person'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'c_hr_manager'); ?>
		<?php echo $form->textField($model,'c_hr_manager',array('size'=>32,'maxlength'=>32)); ?>
		<?php echo $form->error($model,'c_hr_manager'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'c_contacter_tel'); ?>
		<?php echo $form->textField($model,'c_contacter_tel',array('size'=>60,'maxlength'=>64)); ?>
		<?php echo $form->error($model,'c_contacter_tel'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'c_introduce_photo'); ?>
		<?php echo $form->textField($model,'c_introduce_photo',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'c_introduce_photo'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'c_id_photo'); ?>
		<?php echo $form->textField($model,'c_id_photo',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'c_id_photo'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'c_introduce'); ?>
		<?php echo $form->textArea($model,'c_introduce',array('rows'=>6, 'cols'=>50)); ?>
		<?php echo $form->error($model,'c_introduce'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'c_board_members'); ?>
		<?php echo $form->textField($model,'c_board_members',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'c_board_members'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'type_pg'); ?>
		<?php echo $form->textField($model,'type_pg'); ?>
		<?php echo $form->error($model,'type_pg'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'type_p_vasn'); ?>
		<?php echo $form->textField($model,'type_p_vasn'); ?>
		<?php echo $form->error($model,'type_p_vasn'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'type_g_pebg'); ?>
		<?php echo $form->textField($model,'type_g_pebg'); ?>
		<?php echo $form->error($model,'type_g_pebg'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'open'); ?>
		<?php echo $form->textField($model,'open'); ?>
		<?php echo $form->error($model,'open'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'c_email'); ?>
		<?php echo $form->textField($model,'c_email',array('size'=>60,'maxlength'=>64)); ?>
		<?php echo $form->error($model,'c_email'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->